<div id="header">
	<h1><?php echo(htmlspec($blog_info->title)); ?><sup><span>&reg; </span><?php echo(htmlspec($blog_info->user_name)); ?></sup></h1>
	<h2><?php echo(htmlspec($blog_info->slogan)); ?>&nbsp;</h2>
	<div id="nav">
		<ul id="navBar">
			<li><a href="/">社区</a></li>
			<li><a href="<?php echo('/' . $blogger_uri); ?>">Blog 首页</a></li>
			<li><a href="javascript:;" id="lnkFriendLogin">查看保密帖</a></li>
			<li><a href="javascript:;" id="lnkLeaveMsg">留悄悄话</a></li>
			<li><a id="feedButton" href="<?php echo('/' . $blogger_uri); ?>/rss"><img alt="RSS 2.0" src="/img/rss_icon_glass32.png" /></a></li>
		</ul>
		
		<div id="mgmtDropDown">
			<dl id="mgmtBox">
			<?php if($is_blog_owner) { ?>
				<dt><a href="<?php echo('/' . $blogger_uri); ?>/mgmt">&laquo; 后台管理<?php if($new_msg_num > 0) { ?> ( <span class="hasNewMsg"><?php echo($new_msg_num); ?></span> )<?php } ?></a></dt>
				<dd>
					<ul>
						<li id="q_watchlist"><a title="我的关注" href="<?php echo('/' . $blogger_uri); ?>/mgmt/comments"></a></li>
						<li id="q_post"><a title="发表新网志" href="<?php echo('/' . $blogger_uri); ?>/mgmt/edit_entry"></a></li>
						<li id="q_settings"><a title="个人设置" href="<?php echo('/' . $blogger_uri); ?>/mgmt/settings"></a></li>
						<li id="q_pm"><a title="悄悄话" href="<?php echo('/' . $blogger_uri); ?>/mgmt/messages"></a></li>
					</ul>
				</dd>
			<?php } else { ?>
				<dt><a href="<?php echo('/' . $blogger_uri); ?>/mgmt/login">登录</a></dt>
			<?php } ?>
			</dl>
		</div>
		
		<div class="z"></div>
	</div>
</div>
